<template>
<div class="scroll">
    <!-- 提交scroll列表 -->
    <div class="LRSBox" v-if="isShowRegisterPage">
        <div class="title"><span>注册</span></div>
        <div class="inputBox">
            <span class="colHeader">用户名：</span><input type="text" v-model="username"/>
        </div>
        <div class="inputBox">
            <span class="colHeader">密码：</span><input type="password" v-model="password"/>
        </div>
        <div class="inputBox">
            <span class="colHeader">密码：</span><input type="password" v-model="repassword"/>
        </div>
        <div class="inputBox">
            <span class="colHeader"  @click="toRegister">注册</span>
            <a @click="toLoginPage">立即登录</a>
            <p class="warning textCenter"></p>
        </div>
    </div>
</div>
</template>
 
<script>
export default{
props: [''],
 
components: {},
 
data(){
    return{
        status: 1,
        subList: [{
            id: 1,
            name: "花木兰1"
        },{
            id: 2,
            name: "花木兰2"
        },{
            id: 3,
            name: "花木兰3"
        },{
            id: 4,
            name: "花木兰4"
        },{
            id: 5,
            name: "花木兰5"
        },{
            id: 6,
            name: "花木兰6"
        },{
            id: 7,
            name: "花木兰7"
        },{
            id: 8,
            name: "花木兰8"
        },{
            id: 4,
            name: "花木兰4"
        },{
            id: 5,
            name: "花木兰5"
        },{
            id: 6,
            name: "花木兰6"
        },{
            id: 7,
            name: "花木兰7"
        },{
            id: 8,
            name: "花木兰8"
        }]
    }
},
 
mounted(){},
 
methods: {
    tabChange(status, e) {
        this.status = status;
        // 要进一步设置底部的蓝色下线
    }
},
 
}
</script>
 
<style lang='less' scoped>
.scroll{
    background: #f5f5f5;
    .search-input{
        background: #f5f5f5;
        padding: 10px auto;
        input{
            width: 90%;
            height: 40px;
            line-height: 40px;
            border: 1px solid #f5f5f5;
            border-radius: 10px;
            padding-left: 10px;
            margin: 10px 0;
        }
    }
    .search-tab{
        width: 100%;
        height: 40px;
        line-height: 40px;
        background: #fff;
        .tabs{
            display: flex;
            .tabItem{
                width: 33%;
                font-size: 20px;

            }
        }
    }
    .result-list{
        .list-item{
            width: 100%;
            height: 50px;
            line-height: 50px;
            background: #fff;
            margin-top: 10px;
        }
    }
}
.active{
    color: blue;
}
</style>
